package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 【请填写功能名称】对象 p_position
 * 
 * @author ruoyi
 * @date 2024-01-08
 */
public class PPosition implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 图标地址 */
    @Excel(name = "图标地址")
    private String icon;

    /** 父级id */
    @Excel(name = "父级id")
    private String pId;

    /** 启用状态 */
    @Excel(name = "启用状态")
    private Integer enableStatus;

    /** 0未同步1已同步 */
    @Excel(name = "0未同步1已同步")
    private Long syncStatus;

    private String createTime;

    private String updateTime;

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setpId(String pId) 
    {
        this.pId = pId;
    }

    public String getpId() 
    {
        return pId;
    }
    public void setEnableStatus(Integer enableStatus) 
    {
        this.enableStatus = enableStatus;
    }

    public Integer getEnableStatus() 
    {
        return enableStatus;
    }
    public void setSyncStatus(Long syncStatus) 
    {
        this.syncStatus = syncStatus;
    }

    public Long getSyncStatus() 
    {
        return syncStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("icon", getIcon())
            .append("pId", getpId())
            .append("enableStatus", getEnableStatus())
            .append("createTime", getCreateTime())
            .append("syncStatus", getSyncStatus())
            .toString();
    }
}
